package com.jwsoft.manager.core.integration;

import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduWorkOrderLog.EduWorkOrderLogKeyVO;
import com.jwsoft.manager.common.vo.eduWorkOrderLog.EduWorkOrderLogQueryVO;
import com.jwsoft.manager.common.vo.eduWorkOrderLog.EduWorkOrderLogVO;
import com.jwsoft.manager.common.vo.eduWorkOrderLog.LogTimeLineVO;

import java.util.List;

/**
 * 工单表业务本地接口
 *
 * @author zhiyuan
 * @since 2023-02-28
 */
public interface EduWorkOrderLogIntegration {
    /** 分页查询 */
    PageInfo<EduWorkOrderLogVO> getList(EduWorkOrderLogQueryVO vo);
    /** 根据主键查询详情 */
    EduWorkOrderLogVO getById(EduWorkOrderLogKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduWorkOrderLogVO vo);
    /** 新增 */
    EduWorkOrderLogVO add(EduWorkOrderLogVO vo);
    /** 修改 */
    EduWorkOrderLogVO edit(EduWorkOrderLogVO vo);
    /** 根据主键删除 */
    void del(EduWorkOrderLogKeyVO vo);

    /*返回工单表处理时间线*/
    List<LogTimeLineVO> queryByOrderWork(EduWorkOrderLogKeyVO vo);
}
